<%@ Import namespace="ASPDotNetSamples"%>
<%@ Page CodeBehind="BuyNow.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="ASPDotNetSamples.BuyNow" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
		<title>PayPal Website Payment Standard Buy Now</title>
	</HEAD>
	<body>
		<br>
		<center>
			<font face="Verdana" color="black" size="2"><b>Encrypted Website Payment (EWP) Buttons</b></font>&nbsp;
			<br>
			<br>
			<font color="red"><b><B>
						<SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial; mso-fareast-font-family: 'Arial Unicode MS'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">If 
you are using the PayPal Sandbox, you must be logged into&nbsp;</SPAN></B> <a href="https://developer.paypal.com/" target="_blank">
						Developer Central</a></b> </font>
			<br>
			<br>
			
							<asp:Literal Runat="server" ID="ButtonLiteral" Text='<%#ButtonLiteralText%>' />
				
		</center>
		<br>
		
		<br>
		<CENTER><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Arial Unicode MS'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Using 
the credentials specified in the constants.aspx file, the payment details are 
now encrypted. Click on the buy now button to complete the payment on 
PayPal.</SPAN></CENTER>
		<center>
			&nbsp;</center>
		<center>
			<font face="Verdana" color="black" size="2">The following are the parameters being 
				passed:
				<br>
				<br>
				<center>
						
		<table cellpadding="2" cellspacing="2" border="1">
		<tr><td align=left>cmd:</td><td align=left>_xclick</td></tr>
		<tr><td align=left>business</td><td align=left><%#Constants.STANDARD_EMAIL_ADDRESS%></td></tr>
		<tr><td align=left>cert_id</td><td align=left><%#Constants.CERT_ID%></td></tr>
		<tr><td align=left>item_name</td><td align=left><%#Global.CurrentBuyNowParams.ItemName%></td></tr>
		<tr><td align=left>item_number</td><td align=left><%#Global.CurrentBuyNowParams.ItemNumber%></td></tr>
		<tr><td align=left>amount</td><td align=left><%#Global.CurrentBuyNowParams.Amount%></td></tr>
		<tr><td align=left>currency_code</td><td align=left><%#Global.CurrentBuyNowParams.Currency%></td></tr>
		<tr><td align=left>return</td><td align=left><%#Global.CurrentBuyNowParams.ReturnURL%></td></tr>
		<tr><td align=left>cancel_return</td><td align=left><%#Global.CurrentBuyNowParams.CancelURL%></td></tr>
		<tr><td align=left>notify_url</td><td align=left><%#Global.CurrentBuyNowParams.NotifyUrl%></td></tr>
		
		</table>
				
					
			</font>&nbsp;</center>
		</CENTER> <font size="2" color="black" face="Verdana"><a href="Default.aspx">Home</a></font>
	</body>
</HTML>
